home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / WINFONTS / MACFONTX.ZIP / BM2AFM02.ZIP / BMAP2AFM.DOC < prev    next >
Text File  |  1993-01-07  |  3KB  |  58 lines

  1. Bmap2AFM vers 0.2
  2.  
  3. Bmap2AFM is a free utility from Small Planet Software.  At present, it is
  4. available for the MS-DOS platform only.
  5.  
  6. Bmap2AFM converts the metric information in Macintosh screen fonts into Adobe
  7. AFM metrics.  The screen font file frequently has the extension ".bmap" which
  8. explains the filename.  Note, however, that it can have any name and the
  9. easiest way to recognize it (when looking at the output from extract-pc, for
  10. example) is by the filetype, "FFIL".  Bmap2AFM converts metric (width)
  11. information and kerning information from the Mac file into AFM format.  If the
  12. Mac file contains an 'encoding vector', please contact Small Planet Software
  13. (I've never found an example of a font that did, so I haven't been able to
  14. implement that part...).  Note: the .bmap file does not contain all of the
  15. information needed to construct a complete AFM file, when necessary (for
  16. example to compute bounding boxes) Bmap2AFM constructs "reasonable" values
  17. that may or may not be perfectly accurate.
  18.  
  19. Since I have been unable to find a reference that explains how to decode the
  20. information contained in a Mac resource fork, this program works by a process
  21. of educated guesswork.  In the course of running the program, it may ask
  22. several questions.
  23.  
  24. The first thing Bmap2AFM attempts to do is find the FOND resource in the file.
  25. It does this by pattern matching and, if more than one pattern is found, it
  26. will ask you which one to use.  All I can suggest is that you select the first
  27. one and see what metrics get generated.  If you get the warning "Width table
  28. does not conform to spec," you should run Bmap2AFM again and try a different
  29. match.  Note, however, that the Mac file may contain the metrics for more than
  30. one font and, in that case, it is reasonable for it to contain more than one
  31. legal FOND.  You will have to rerun Bmap2AFM to extract the metrics for each
  32. FOND.
  33.  
  34. As noted above, one way for a .bmap file to contain metrics for multiple fonts
  35. is for it to contain multiple FONDs.  Another way is for a single FOND to
  36. contain multiple tables.  If the FOND contains multiple width tables, Bmap2AFM
  37. will ask you which table to use.  The prompt will contain the font names so it
  38. should be easy to figure out which one to pick.  The Mac can perform a few
  39. "automagic" effects (like bolding, for example) and there may be different
  40. width tables for these fonts.  If you don't have the type-1 or TrueType
  41. sources for the other fonts, their width tables are probably useless to you.
  42.  
  43. Apologies, in advance, for the lack of sophistication that this program
  44. exhibits and the relatively poor quality of this documentation.  But it
  45. is only version 0.2, right?
  46.  
  47. If you have any questions or problems, please don't hesitate to contact
  48. Small Planet Software at
  49.  
  50.         87 South Silver Lane, #2
  51.         Sunderland, MA 01375
  52.         USA
  53.  
  54. or electronically at <walsh@cs.umass.edu> on the Internet.
  55.  
  56.                                               Regards,
  57.                                                 norm
  58.